package com.xmb.common.dao;

import com.xmb.common.entity.XmbRankConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface XmbRankConfigMapper {
    int insert(XmbRankConfig record);

    int insertSelective(XmbRankConfig record);

    XmbRankConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(XmbRankConfig record);

    int updateByPrimaryKey(XmbRankConfig record);

    List<XmbRankConfig> findRankConfigBySenceIdAndType(XmbRankConfig rankConfig);

    int deleteXmbOrderRewardSetting(Long id);

    List<XmbRankConfig> findRankConfigByActivityId(@Param("activityId")Long activityId);

}